package cn.java.image;

public class Rectangle extends Image {
	public double a, b;

	public double getGirth() {

		return 2 * (a + b);
	}

	public double getArea() {

		return a * b;
	}

}
